package com.hbue.springboot.pojo.DTO;

import com.hbue.springboot.pojo.TbHistory;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.springframework.web.bind.annotation.RequestParam;

import java.sql.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor
@NoArgsConstructor
public class TbHistoryDTO extends TbHistory {

    private  String  userName;
    private String workerName;
    private String custName;
    private Integer pageNum;
    private Integer pageSize;
    // 前端通过params传递数据
    private Date startTime;
    private Date endTime;
}
